<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function countSquares(cuts){
        return cuts === 0 ? 1 : cuts * cuts * 5 + 2;
    }
</script>
</body>
</html>